Creating a Terminal Server Getting Started Guide 175 1:12345:respawn:/sbin/getty tty1 VC linux 2:2345:respawn:/sbin/getty tty2 VC linux 3:2345:respawn:/sbin/getty tty3 VC linux 4:2345:respawn:/sbin/getty tty4 VC linux 5:2345:respawn:/sbin/getty tty5 VC linux 6:2345:respawn:/sbin/getty tty6 VC linux If you had a modem connected to serial port 1 (/dev/ttyS0), you would add a line like this to the end of the list: 7:2345:respawn:/sbin/getty ttyS0 MYTERM linux Notice the following things about this new entry: The number of the device (7) is arbitrary but unique. If you have many devices and still want to use the X Window System on this OpenLinux system, you should start the device numbers with 10, 100 or something similar. The second set of numbers defines which run-levels will include this device. Normally this would be 2345. The device to watch for activity is listed (without the /dev/ portion). In this case, serial port 1, ttyS0, is the device. The name of the gettydef line is included to indicate the options to use with this device. Once you have edited the necessary files, re-initialize the system to use the parameters you have entered using this command: $ init q You are ready to test the devices to see that they respond with a login prompt. NOTE: If you want users to immediately begin using a cer- tain program after logging in, add that program name to their startup information in the /etc/passwd file. For exam- ple, instead of /bin/bash, change the default shell to /bin/bash –c salesprogram: dtaylor:x:500:500:Danielle Taylor:/home/dtaylor:/bin/bash -c sales Additional capabilities and security can be provided by using other getty-like programs.